package com.company.class10;

/**
 * @Classname Animal
 * @Description 类型说明
 * @Date 2022/5/2 22:37
 * @Created by zbw
 */

public class Animal {

    public int age = 0;
    public String kind = "动物";
    private String food ="藏起来的食物";

    public void eat(String food){
        System.out.println("动物正在进食"+food);
    }

    public void sleep(){
        System.out.println("动物需要睡觉");
    }

    public String getKind() {
        return kind;
    }
}
